package org.electronic.registration.dao;

import org.electronic.registration.bo.Patient;

import java.util.List;

/**
 * User: Egor
 * Date: 12.01.12
 */
public interface PatientDao {

    void save(Patient patient);

    Patient getPatientByName(String name);

    List<Patient> getAllPatients();

    Patient isPatientExist(String email, String password);

}
